<!--<?php
# MetInfo Enterprise Content Management System 
# Copyright (C) MetInfo Co.,Ltd (http://www.metinfo.cn). All rights reserved. 
require_once template('head');
echo <<<EOT
-->
<title>$class1_info[name]</title>
</head>
<body>
   <div class="div_top">
	              <div class="div_title">{$lang_manager} [{$class1_info[name]}]</div>     
<!--
EOT;
if(count($met_class22[$class1])){
echo <<<EOT
-->		  
<div class="div_content" align="left"><span>{$lang_modClass2}: </span>
<!--
EOT;
foreach($met_class22[$class1] as $key=>$val){
if($val[id]==$class2)$style="style='color:#FF0000'";
echo <<<EOT
-->
<a href="index.php?lang=$lang&class1=$class1&class2=$val[id]" $style>$val[name]</a>&nbsp;&nbsp;|&nbsp;
<!--
EOT;
$style="";
}
echo <<<EOT
-->	</div>
<!--
EOT;
if(count($met_class3[$class2])){
echo <<<EOT
-->		   
<div class="div_content1" align="left"><span>{$lang_modClass3}: </span>
<!--
EOT;
foreach($met_class3[$class2] as $key=>$val){
if($val[id]==$class3)$style="style='color:#FF0000'";
echo <<<EOT
-->
<a href="index.php?lang=$lang&class1=$class1&class2=$val[bigclass]&class3=$val[id]" $style>$val[name]</a>&nbsp;&nbsp;|&nbsp;
<!--
EOT;
$style="";
}}
echo <<<EOT
-->	</div>
<!--
EOT;
}
echo <<<EOT
-->	
	   </div>
	   <div style="width:95%;margin-top:10px;" align="right">
				<form method="POST" name="filterform"  action="index.php?lang=$lang&search=detail_search" target="_self">
				<input name="class1" type="hidden" size="30" value="$class1">
				<input name="class2" type="hidden" size="30" value="$class2">
				<input name="class3" type="hidden" size="30" value="$class3">
<!--
EOT;
if($metadmin[newsimage]){
echo <<<EOT
-->	
				<span><b>{$lang_images}</b></span>
			    <select name="img" id="img" onChange="autosubmit()">
					<option value="all" $img0>{$lang_selectnow}</option>
					<option value="1" $img1>{$lang_yes}</option>
					<option value="0" $img2>{$lang_no}</option>
				</select>
<!--
EOT;
}
if($metadmin[newscom]){
echo <<<EOT
-->	
				<span><b> {$lang_recom}</b></span>
				<select name="recommend" id="recommend" onChange="autosubmit()">
					<option value="all" $recommend0>{$lang_selectnow}</option>
					<option value="1" $recommend1>{$lang_yes}</option>
					<option value="0" $recommend2>{$lang_no}</option>
				</select>
<!--
EOT;
}
echo <<<EOT
-->
				<span><b> {$lang_top}</b></span>
				<select name="top" id="top" onChange="autosubmit()">
					<option value="all" $top0>{$lang_selectnow}</option>
					<option value="1" $top1>{$lang_yes}</option>
					<option value="0" $top2>{$lang_no}</option>
				</select>
				</form>
		</div>
<table cellpadding="2" cellspacing="1" border="0" width="95%" class="table_list1">
              <tr>
                <td width="5%" class="list1_top" align="center">{$lang_selected}</td>
				<td width="5%" class="list1_top" align="center">ID</td>
                <td width="40%" class="list1_top" align="center">{$lang_title}</td>
<!--
EOT;
if($metadmin[newsimage]){
echo <<<EOT
-->	
                <td width="5%"  class="list1_top" align="center" >{$lang_image}</td>
<!--
EOT;
}
if($metadmin[newscom]){
echo <<<EOT
-->	
                <td width="5%"  class="list1_top" align="center" >{$lang_recom}</td>
<!--
EOT;
}
echo <<<EOT
-->	
				<td width="6%"  class="list1_top" align="center" >{$lang_top}</td>
                <td width="10%"  class="list1_top" align="center" >{$lang_updatetime}</td>	
<!--
EOT;
if($met_member_use){
echo <<<EOT
-->				
				<td width="14%"  class="list1_top" align="center" >{$lang_webaccess}</td>
<!--
EOT;
}
echo <<<EOT
-->					
	           <td width="10%"  class="list1_top" align="center" >{$lang_operate}</td>
              </tr>
			  <form name="del" method="Post" action="delete.php?lang=$lang&class1=$class1&class2=$class2&class3=$class3" onSubmit="return ConfirmDelall();">
<!--
EOT;
foreach ($news_list as $key=>$val){
if(isset($langtype) && $langtype!='all') 
{
	$item = $langtype."_title";
	if($val[$item]=='') continue;
	$val['title'] = $val[$item];
}

echo <<<EOT
-->          
              <tr>
              <td class="list1_content_titile" align="center"><input name='id' type='checkbox' onClick="unselectall()" id="id" value='$val[id]' class="xz"></td>
                <td class="list1_content" align="center">$val[id]</td>
			    <td class="list1_content" align="left"><a href="../../$class1_info[foldername]/shownews.php?lang=$lang&id=$val[id]" title="{$lang_preview}" target="_blank">$val[title]</a></td>
<!--
EOT;
if($metadmin[newsimage]){
echo <<<EOT
-->	
                <td class="list1_content" align="center"><a href="changeState.php?lang=$lang&img_ok=$val[img_ok]&id=$val[id]&class1=$class1&class2=$class2&class3=$class3" onClick="return ConfirmChange();">$val[img_ok1]</a></td>
<!--
EOT;
}
if($metadmin[newscom]){
echo <<<EOT
-->	
                <td class="list1_content" align="center"><a href="changeState.php?lang=$lang&com_ok=$val[com_ok]&id=$val[id]&class1=$class1&class2=$class2&class3=$class3" onClick="return ConfirmChange();">$val[com_ok1]</a></td>
<!--
EOT;
}
echo <<<EOT
-->					
				<td class="list1_content" align="center"><a href="changeState.php?lang=$lang&top_ok=$val[top_ok]&id=$val[id]&class1=$class1&class2=$class2&class3=$class3" onClick="return ConfirmChange();">$val[top_ok1]</a></td>
                <td class="list1_content" align="center">$val[updatetime]</td>
<!--
EOT;
if($met_member_use){
echo <<<EOT
-->	
				<td class="list1_content" align="center">$val[access]</td>
<!--
EOT;
}
echo <<<EOT
-->	
				<td align="center" class="list1_content" style="color:#0066FF;"></a> <a href="content.php?action=editor&lang=$lang&id=$val[id]" >{$lang_editor}</a> | <a href="delete.php?lang=$lang&id=$val[id]&class1=$class1&class2=$class2&class3=$class3" onClick="return ConfirmDel();" >{$lang_delete}</a></td>
              </tr>
<!--
EOT;
}
echo <<<EOT
-->
       

   	   <tr> 
            <td class="input_bottom" align="center"><input name="chkAll" class="xz" type="checkbox" id="chkAll" onclick=CheckAll(this.form) value="checkbox"></td>
             <td class="input_bottom" align="center">{$lang_selectall}</td>
			 <td class="input_bottom" align="left" colspan="8"><input name="submit" type='submit' value='{$lang_deleteselected}'> 
              <input name="action" type="hidden" id="action" value="del">
			  <input name="allid" type="hidden" id="allid" value=""></form></td>
          </tr>
		  <tr>
            <td align="left" colspan="8"  class="input_search">
			<form method="POST" name="search"  action="index.php?lang=$lang&search=detail_search" target="_self">
			    <input name="class1" type="hidden" size="30" value="$class1">
				<input name="class2" type="hidden" size="30" value="$class2">
				<input name="class3" type="hidden" size="30" value="$class3">
				<span><b>{$lang_titlekey}</b></span>				  
			    <input name="title" type="text" size="30">				
				<input type="submit" name="Submit2" value="{$lang_search}" class="tj">
				{$lang_modsearch}
				<br />
	        </form></td>
          </tr>
		  <tr>
				<td align="left" colspan="8"  class="input_search">
			   <form method="POST" name="myform"  action="changeState.php?lang=$lang&action=moveto" target="_self" onSubmit="return Confirmall();">
			   <input name="allid" type="hidden" id="allid" value="">
				<span><b>{$lang_movebatch}</b></span>				  
<!--
EOT;
echo <<<EOT
-->	
<select name="class1" onChange="changelocation1(document.myform.class1.options[document.myform.class1.selectedIndex].value,1)" size="1">
<option value=0 >{$lang_modClass1}</option>
<!--
EOT;
foreach($met_classindex[2] as $key=>$val2){
$k=$val2[id];
echo <<<EOT
-->			
<option  value="$val2[id]" $class2[$k]>$val2[name]</option>
<!--
EOT;
}
echo <<<EOT
-->
</select>
<!--
EOT;
echo <<<EOT
-->	
<select name="class2" onChange="changelocation1(document.myform.class2.options[document.myform.class2.selectedIndex].value,2)" size="1">
<option value=0 >{$lang_modClass2}</option>

              </select>
			<select name="class3"> 
			<option value=0 >{$lang_modClass3}</option>
		
             </select>
<!--
EOT;

echo <<<EOT
-->				<input type="submit" name="Submit3" value="{$lang_move}" class="tj" >
				{$lang_rehtml}
				<br />
				</td>
	        </form>
		  
				
		  </tr>
   	   <tr>
   	     <td height="0" align="center" colspan="8" class="list1_input" >$page_list</td>
        </tr>
		<tr>
		  <td class="list1_footer" colspan="8" align="center">$foot</td>
	  </tr>
</table>
<script type='text/javascript'>
	function autosubmit()
	{
		document.filterform.submit();
	}
</script>
</body>
</html>
<!--
EOT;
# This program is an open source system, commercial use, please consciously to purchase commercial license.
# Copyright (C) MetInfo Co., Ltd. (http://www.metinfo.cn). All rights reserved.ed.
?>-->